$(document).ready(function(){
$('.login-form').submit(function(){
    var username = $('#username').notEmpty({errorClass: ".login-email-error"});
    var password = $('#password').notEmpty({errorClass: ".login-password-error"});
    var email =  $('#username').emailFormat({errorClass: ".login-email-error"});  
if(!username || !password || !email)
    {return false;}
else
    {return true;}
});
});